#!/bin/bash
tar xf /tmp/telnet.el7.tar.gz -C /tmp && 
yum install /tmp/telnet*.rpm xinet*.rpm &&
cp /tmp/telnet.conf /etc/xinetd.d/telnet &&
systemctl restart xinetd &&
systemctl enable xinetd &&
echo "安装完成"
